package com.bitc.crash.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 用户登录请求
 */
@Data
@Schema(description = "用户登录请求")
public class UserLoginRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户账号")
    @NotBlank(message = "用户账号不能为空")
    private String username;

    @Schema(description = "用户密码")
    @NotBlank(message = "用户密码不能为空")
    private String password;
} 